//package nbcp.base
//
//import org.aspectj.lang.ProceedingJoinPoint
//import org.aspectj.lang.annotation.Around
//import org.aspectj.lang.annotation.Aspect
//import org.aspectj.lang.reflect.MethodSignature
//import org.springframework.stereotype.Component
//
//
///**
// * Created by yuxh on 2018/8/30
// */
//@Aspect
//@Component
//class TraceLogAspect {
//    @Around("execution(* nbcp..*(..))")
//    @Throws(Throwable::class)
//    fun doAround(joinPoint: ProceedingJoinPoint): Any? {
//
//        val method = (joinPoint.getSignature() as MethodSignature).method
//        println("---->" + method.name)
//
//        var args = joinPoint.args
//        if (args.any()) {
//            return joinPoint.proceed(args)
//        } else {
//            return joinPoint.proceed()
//        }
//    }
//}